package com.tracesystem.service;

import com.tracesystem.commons.Result;
import com.tracesystem.controller.form.ActivRoleForm;
import com.tracesystem.controller.form.BanRoleForm;
import com.tracesystem.controller.form.ChangeRoleInfoForm;
import com.tracesystem.controller.form.RoleForm;
import com.tracesystem.model.IssueRole;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Kevin Martin
 * @since 2022-03-23
 */
public interface IssueRoleService extends IService<IssueRole> {

    Result<?> addRole(RoleForm roleForm);

    Result<?> changeRoleinfo(ChangeRoleInfoForm changeRoleInfoForm);

    Result<?> stopRole(BanRoleForm banRoleForm);

    Result<?> activeRole(ActivRoleForm activRoleForm);
}
